package com.example.nio2;

/**
 * @Author: sn
 * @Desc something
 * @Date: 2021/7/6
 */
public class Test {
    public static void main(String[] args) {
        int read = 1 << 0;
        int write = 1 << 2;
        System.out.println(read);
        System.out.println(write);
        System.out.println(read | write);
        System.out.println(5 & read);
        System.out.println(4 & write);
    }
}
